package com.xwh.shop.orders.model.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class CartDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员ID
     */
    @NotNull
    private Long memberId;

    /**
     * 商品ID
     */
    @NotNull
    private Long goodsId;

    /**
     * 商品数量
     */
    @NotNull
    private Integer quantity;


}
